|
|
|
|
|
11
Displaying Your Data with Graphs |
|
|
|
| |
 |
|
|
|
|
The Advantages of Graphing Your Data |
|
|
|
| |
 |
|
|
|
|
Loading and Using the Graph Control |
|
|
|
| |
 |
|
|
|
|
Loading the Graph Control into the Visual Basic Toolbox |
|
|
|
| |
 |
|
|
|
|
Adding the Graph Control to Your Form |
|
|
|
| |
 |
|
|
|
|
Setting the Graph Type |
|
|
|
| |
 |
|
|
|
|
How the Graph Control Organizes Your Data |
|
|
|
| |
 |
|
|
|
|
Adding Data in Design Mode |
|
|
|
| |
 |
|
|
|
|
Adding Data at Runtime |
|
|
|
| |
 |
|
|
|
|
Adding Data Using the QuickData Property |
|
|
|
| |
 |
|
|
|
|
Adding Titles, Labels, and Legends |
|
|
|
| |
 |
|
|
|
|
Display Options |
|
|
|
| |
 |
|
|
|
|
Creating Your Data Graph OLE Server |
|
|
|
| |
 |
|
|
|
|
Building the Data Graph Form |
|
|
|
| |
 |
|
|
|
|
Building the DataGraph Class Object |
|
|
|
| |
 |
|
|
|
|
Testing the Graph OLE Server |
|
|
|
| |
 |
|
|
|
|
Adding More Properties to the DataGraph Object |
|
|
|
| |
 |
|
|
|
|
Adding Graphs to the CompanyMaster Project |
|
|
|
| |
 |
|
|
|
|
Adding the Graph Menu Option |
|
|
|
| |
 |
|
|
|
|
Summary |
|
|
|
| |
 |
|
|
|
|
Quiz |
|
|
|
| |
 |
|
|
|
|
Exercises |
|
|
|
| |
|
|
|
|
|
12
Data-Bound List Boxes, Grids, and Subforms |
|
|
|
| |
 |
|
|
|
|
The Data-Bound List and Combo Boxes |
|
|
|
| |
 |
|
|
|
|
Using the Data-Bound List Box |
|
|
|
| |
 |
|
|
|
|
Using the Data-Bound Combo Box |
|
|
|
| |
 |
|
|
|
|
Deciding When to Use the List Box or Combo Box |
|
|
|
| |
 |
|
|
|
|
The Data-Bound Grid |
|
|
|
| |
 |
|
|
|
|
Creating Your First Data-Bound Grid Form |
|
|
|
| |
 |
|
|
|
|
Adding and Deleting Records with the Data-Bound Grid |
|
|
|
| |
 |
|
|
|
|
Setting Other Design-Time Properties of the Data Grid |
|
|
|
| |
 |
|
|
|
|
Trapping Events for the Data Grid Control |
|
|
|
| |
 |
|
|
|
|
The Add Record Events |
|
|
|
| |
 |
|
|
|
|
The Update Record Events |
|
|
|
| |
 |
|
|
|
|
The Delete Record Events |
|
|
|
| |
 |
|
|
|
|
Column-Level Events |
|
|
|
| |
 |
|
|
|
|
Creating the dbFind Custom Control |
|
|
|
| |
 |
|
|
|
|
The dbFind Control Button |
|
|
|
| |
 |
|
|
|
|
The dbFind Dialog Box |
|
|
|
| |
 |
|
|
|
|
Testing the dbFind Custom Control |
|
|
|
| |
 |
|
|
|
|
Using the Data Grid to Create a Subform |
|
|
|
| |
 |
|
|
|
|
Designing the Subform |
|
|
|
| |
 |
|
|
|
|
Laying Out and Coding the Subform with Visual Basic 5 |
|
|
|
| |
 |
|
|
|
|
Summary |
|
|
|
| |
 |
|
|
|
|
Quiz |
|
|
|
| |
 |
|
|
|
|
Exercises |
|
|
|
| |